package com.polaris.live.ui.user_space

import android.os.Bundle
import com.polaris.live.utils.getLongOrString
import com.polaris.live.viewmodel.UserSpaceViewModel
import com.polaris.live.common.ext.setOnSingleClickListener
import com.polaris.live.common.mvvm.base2.BaseVbActivity
import com.polaris.live.databinding.ActivitySignOutBinding
import com.polaris.live.translation.R.string

/**
 * 注销空间页
 *
 * @author Created by 长空 on 2023/11/16/004 14:01
 */
class SignOutActivity :
    BaseVbActivity<UserSpaceViewModel, ActivitySignOutBinding>() {

    private val longExtra: Long by lazy { intent.getLongOrString("userId", 0L) }

    override fun initView(savedInstanceState: Bundle?) {
        mBinding.tvId.text = getString(string.uid, longExtra.toString())

        mBinding.ivBack.setOnSingleClickListener {
            finish()
        }
    }

}